home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / MacHacksBug / Python 1.5.2c1 / Mac / Lib / lib-toolbox / QuickDraw.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2000-06-23  |  5.0 KB  |  171 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 1.5)
  3.  
  4.  
  5. def FOUR_CHAR_CODE(x):
  6.     return x
  7.  
  8. normal = 0
  9. bold = 1
  10. italic = 2
  11. underline = 4
  12. outline = 8
  13. shadow = 16
  14. condense = 32
  15. extend = 64
  16. invalColReq = -1
  17. srcCopy = 0
  18. srcOr = 1
  19. srcXor = 2
  20. srcBic = 3
  21. notSrcCopy = 4
  22. notSrcOr = 5
  23. notSrcXor = 6
  24. notSrcBic = 7
  25. patCopy = 8
  26. patOr = 9
  27. patXor = 10
  28. patBic = 11
  29. notPatCopy = 12
  30. notPatOr = 13
  31. notPatXor = 14
  32. notPatBic = 15
  33. grayishTextOr = 49
  34. hilitetransfermode = 50
  35. hilite = 50
  36. blend = 32
  37. addPin = 33
  38. addOver = 34
  39. subPin = 35
  40. addMax = 37
  41. adMax = 37
  42. subOver = 38
  43. adMin = 39
  44. ditherCopy = 64
  45. transparent = 36
  46. italicBit = 1
  47. ulineBit = 2
  48. outlineBit = 3
  49. shadowBit = 4
  50. condenseBit = 5
  51. extendBit = 6
  52. normalBit = 0
  53. inverseBit = 1
  54. redBit = 4
  55. greenBit = 3
  56. blueBit = 2
  57. cyanBit = 8
  58. magentaBit = 7
  59. yellowBit = 6
  60. blackBit = 5
  61. blackColor = 33
  62. whiteColor = 30
  63. redColor = 205
  64. greenColor = 341
  65. blueColor = 409
  66. cyanColor = 273
  67. magentaColor = 137
  68. yellowColor = 69
  69. picLParen = 0
  70. picRParen = 1
  71. clutType = 0
  72. fixedType = 1
  73. directType = 2
  74. gdDevType = 0
  75. interlacedDevice = 2
  76. roundedDevice = 5
  77. hasAuxMenuBar = 6
  78. burstDevice = 7
  79. ext32Device = 8
  80. ramInit = 10
  81. mainScreen = 11
  82. allInit = 12
  83. screenDevice = 13
  84. noDriver = 14
  85. screenActive = 15
  86. hiliteBit = 7
  87. pHiliteBit = 0
  88. defQDColors = 127
  89. RGBDirect = 16
  90. baseAddr32 = 4
  91. sysPatListID = 0
  92. iBeamCursor = 1
  93. crossCursor = 2
  94. plusCursor = 3
  95. watchCursor = 4
  96. kQDGrafVerbFrame = 0
  97. kQDGrafVerbPaint = 1
  98. kQDGrafVerbErase = 2
  99. kQDGrafVerbInvert = 3
  100. kQDGrafVerbFill = 4
  101. frame = kQDGrafVerbFrame
  102. paint = kQDGrafVerbPaint
  103. erase = kQDGrafVerbErase
  104. invert = kQDGrafVerbInvert
  105. fill = kQDGrafVerbFill
  106. chunky = 0
  107. chunkyPlanar = 1
  108. planar = 2
  109. singleDevicesBit = 0
  110. dontMatchSeedsBit = 1
  111. allDevicesBit = 2
  112. singleDevices = 1 << singleDevicesBit
  113. dontMatchSeeds = 1 << dontMatchSeedsBit
  114. allDevices = 1 << allDevicesBit
  115. kNoConstraint = 0
  116. kVerticalConstraint = 1
  117. kHorizontalConstraint = 2
  118. k1MonochromePixelFormat = 1
  119. k2IndexedPixelFormat = 2
  120. k4IndexedPixelFormat = 4
  121. k8IndexedPixelFormat = 8
  122. k16BE555PixelFormat = 16
  123. k24RGBPixelFormat = 24
  124. k32ARGBPixelFormat = 32
  125. k1IndexedGrayPixelFormat = 33
  126. k2IndexedGrayPixelFormat = 34
  127. k4IndexedGrayPixelFormat = 36
  128. k8IndexedGrayPixelFormat = 40
  129. k16LE555PixelFormat = FOUR_CHAR_CODE('L555')
  130. k16BE565PixelFormat = FOUR_CHAR_CODE('B565')
  131. k16LE565PixelFormat = FOUR_CHAR_CODE('L565')
  132. k24BGRPixelFormat = FOUR_CHAR_CODE('24BG')
  133. k32BGRAPixelFormat = FOUR_CHAR_CODE('BGRA')
  134. k32ABGRPixelFormat = FOUR_CHAR_CODE('ABGR')
  135. k32RGBAPixelFormat = FOUR_CHAR_CODE('RGBA')
  136. kYUVSPixelFormat = FOUR_CHAR_CODE('yuvs')
  137. kYUVUPixelFormat = FOUR_CHAR_CODE('yuvu')
  138. kYVU9PixelFormat = FOUR_CHAR_CODE('YVU9')
  139. kYUV411PixelFormat = FOUR_CHAR_CODE('Y411')
  140. kYVYU422PixelFormat = FOUR_CHAR_CODE('YVYU')
  141. kUYVY422PixelFormat = FOUR_CHAR_CODE('UYVY')
  142. kYUV211PixelFormat = FOUR_CHAR_CODE('Y211')
  143. kCursorImageMajorVersion = 1
  144. kCursorImageMinorVersion = 0
  145.  
  146. def FOUR_CHAR_CODE(x):
  147.     return x
  148.  
  149. normal = 0
  150. bold = 1
  151. italic = 2
  152. underline = 4
  153. outline = 8
  154. shadow = 16
  155. condense = 32
  156. extend = 64
  157. leftCaret = 0
  158. rightCaret = -1
  159. kHilite = 1
  160. smLeftCaret = 0
  161. smRightCaret = -1
  162. smHilite = 1
  163. onlyStyleRun = 0
  164. leftStyleRun = 1
  165. rightStyleRun = 2
  166. middleStyleRun = 3
  167. smOnlyStyleRun = 0
  168. smLeftStyleRun = 1
  169. smRightStyleRun = 2
  170. smMiddleStyleRun = 3
  171.